package org.maxgroundstation.simulation.service;

/**
 * Java bean for holding service data header information.
 */
public class ServiceDataFragmentHeader {

	// Data members
	private long syncHeader;
	private String serviceID;
	private String clientID;
	private long frameLength;
	private int fragSize;
	private int fragNumber;
	private long timestamp;
	
	/**
	 * Constructor
	 */
	public ServiceDataFragmentHeader() {
		syncHeader = 0L;
		serviceID = "";
		clientID = "";
		frameLength = 0L;
		fragSize = 0;
		fragNumber = 0;
		timestamp = 0L;
	}

	/**
	 * @return the syncHeader
	 */
	public long getSyncHeader() {
		return syncHeader;
	}

	/**
	 * @param syncHeader the syncHeader to set
	 */
	public void setSyncHeader(long syncHeader) {
		this.syncHeader = syncHeader;
	}

	/**
	 * @return the serviceID
	 */
	public String getServiceID() {
		return serviceID;
	}

	/**
	 * @param serviceID the serviceID to set
	 */
	public void setServiceID(String serviceID) {
		this.serviceID = serviceID;
	}

	/**
	 * @return the clientID
	 */
	public String getClientID() {
		return clientID;
	}

	/**
	 * @param clientID the clientID to set
	 */
	public void setClientID(String clientID) {
		this.clientID = clientID;
	}

	/**
	 * @return the frameLength
	 */
	public long getFrameLength() {
		return frameLength;
	}

	/**
	 * @param frameLength the frameLength to set
	 */
	public void setFrameLength(long frameLength) {
		this.frameLength = frameLength;
	}

	/**
	 * @return the fragSize
	 */
	public int getFragSize() {
		return fragSize;
	}

	/**
	 * @param fragSize the fragSize to set
	 */
	public void setFragSize(int fragSize) {
		this.fragSize = fragSize;
	}

	/**
	 * @return the fragNumber
	 */
	public int getFragNumber() {
		return fragNumber;
	}

	/**
	 * @param fragNumber the fragNumber to set
	 */
	public void setFragNumber(int fragNumber) {
		this.fragNumber = fragNumber;
	}

	/**
	 * @return the timestamp
	 */
	public long getTimestamp() {
		return timestamp;
	}

	/**
	 * @param timestamp the timestamp to set
	 */
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
}